#if !defined(AFX_PROCESSTHREAD_H__1DEB6FB8_E71E_4BDA_9FB4_7A2AA1BC5D7B__INCLUDED_)
#define AFX_PROCESSTHREAD_H__1DEB6FB8_E71E_4BDA_9FB4_7A2AA1BC5D7B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ProcessThread.h : header file
//



/////////////////////////////////////////////////////////////////////////////
// CProcessThread thread

class CHostsDlg;

class CProcessThread : public CWinThread
{
	DECLARE_DYNCREATE(CProcessThread)
protected:
	CProcessThread();           // protected constructor used by dynamic creation

// Attributes
public:
    void SetDialog(CHostsDlg* dlg);
	CHostsDlg* GetDialog();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CProcessThread)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	virtual int Run();
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CProcessThread();

	// Generated message map functions
	//{{AFX_MSG(CProcessThread)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
    
    CHostsDlg* m_dlg;

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PROCESSTHREAD_H__1DEB6FB8_E71E_4BDA_9FB4_7A2AA1BC5D7B__INCLUDED_)
